package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 发售对象 sales
 * 
 * @author ruoyi
 * @date 2024-07-04
 */
public class Sales extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发售编号 */
    @Excel(name = "发售编号")
    private Long salesId;

    /** 发售电影编号 */
    @Excel(name = "发售电影编号")
    private Long salesFilmId;

    /** 发售总量 */
    @Excel(name = "发售总量")
    private Long salesQuantity;

    /** 发售利润 */
    @Excel(name = "发售利润")
    private Long salesProfit;

    /** 发售更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发售更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date salesUpdatetime;

    public void setSalesId(Long salesId) 
    {
        this.salesId = salesId;
    }

    public Long getSalesId() 
    {
        return salesId;
    }
    public void setSalesFilmId(Long salesFilmId) 
    {
        this.salesFilmId = salesFilmId;
    }

    public Long getSalesFilmId() 
    {
        return salesFilmId;
    }
    public void setSalesQuantity(Long salesQuantity) 
    {
        this.salesQuantity = salesQuantity;
    }

    public Long getSalesQuantity() 
    {
        return salesQuantity;
    }
    public void setSalesProfit(Long salesProfit) 
    {
        this.salesProfit = salesProfit;
    }

    public Long getSalesProfit() 
    {
        return salesProfit;
    }
    public void setSalesUpdatetime(Date salesUpdatetime) 
    {
        this.salesUpdatetime = salesUpdatetime;
    }

    public Date getSalesUpdatetime() 
    {
        return salesUpdatetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("salesId", getSalesId())
            .append("salesFilmId", getSalesFilmId())
            .append("salesQuantity", getSalesQuantity())
            .append("salesProfit", getSalesProfit())
            .append("salesUpdatetime", getSalesUpdatetime())
            .toString();
    }
}
